{template /common/header}
<style type="text/css">
    body{ background-color: #fff; }
</style>
    <header>
        <a href="javascript:;" onClick="javascript :history.back(-1);" class="headerL iconfont">&#xe66a;</a>
        <h1>账单</h1>
    </header>
    <!-- E header -->
    
    <ul class="ykj_bill_head flex">
        <li class="cur"><a href="javascript:;">收入</a></li>
        <li><a href="/index.php?m=user&c=coupons&a=spending">支出</a></li>
    </ul>

    <ul class="ykj_bill_items">
        <?php foreach($lists as $key=>$val){?>
        <li class="item">
            <div class="flex flex-pack-justify">
                <div>云矿机产出</div>
                <div>+<?php echo $val['money'];?>DBT</div>
            </div>
            <div class="time"><?php echo date("Y-m-d h:i:s",$val[dateline]);?></div>
        </li>
        <?php }?>
    </ul>

</body>
</html>